/*    */ package com.openbravo.pos.forms;
/*    */ 
/*    */ import java.awt.Color;
/*    */ import java.awt.Insets;
/*    */ import javax.swing.JLabel;
/*    */ import javax.swing.border.MatteBorder;
/*    */ 
/*    */ public class MenuTitleDefinition
/*    */   implements MenuElement
/*    */ {
/*    */   public String KeyText;
/*    */ 
/*    */   public void addComponent(JPanelMenu menu)
/*    */   {
/* 43 */     JLabel lbl = new JLabel(AppLocal.getIntString(this.KeyText));
/* 44 */     lbl.applyComponentOrientation(menu.getComponentOrientation());
/* 45 */     lbl.setBorder(new MatteBorder(new Insets(0, 0, 1, 0), new Color(0, 0, 0)));
/*    */ 
/* 51 */     menu.addTitle(lbl);
/*    */   }
/*    */ }

/* Location:           D:\PowerFulPOS-2.30.2\openbravopos.jar
 * Qualified Name:     com.openbravo.pos.forms.MenuTitleDefinition
 * JD-Core Version:    0.6.0
 */